package rmaqlc31.basic;

public class J02_Arithmathic {

	public static void main(String[] args) {
		double number;
		int quotient;
		int remainder;
		int result;
		
		number = (1/3)*3;
		quotient = 7/3;
		remainder = 7%3;
		result = 11; result /= 2;
		
		System.out.println(number);
		System.out.println(quotient);
		System.out.println(remainder);
		System.out.println(result);
		
		
		// 결과가 무엇일까?
		System.out.println((1/3)*3);
		
		//자료형 변환(명시적)
		System.out.println(((float)1/3)*3);
		
		//실수 리터럴
		System.out.println((1./3)*3);
		System.out.println((1F/3)*3);
		

	}

}
